import type { IPageQuery } from '@/api/types';

// 查询条件
export type SysUserEmployeeQuery = IPageQuery & {
    username?: string;
    pwd?: string;
    phone?: string;
    nickname?: string;
    sex?: number;
    birthday?: string;
    logo?: string;
    age?: number;
    idCard?: string;
    email?: string;
    accountStatusCd?: string;
    userTagCd?: string;
    lastLoginTimeStart?: string;
    lastLoginTimeEnd?: string;
};

// 编辑form表单
export type SysUserEmployeeForm = {
    id?: number;
    username?: string;
    pwd?: string;
    phone?: string;
    nickname?: string;
    sex?: number;
    birthday?: string;
    logo?: string;
    age?: number;
    idCard?: string;
    email?: string;
};

// list或detail返回结构
export type SysUserEmployeeRow = {
    id?: number;
    username?: string;
    pwd?: string;
    phone?: string;
    nickname?: string;
    sex?: number;
    birthday?: string;
    logo?: string;
    age?: number;
    idCard?: string;
    email?: string;
    accountStatusCd?: string;
    userTagCd?: string;
    lastLoginTime?: string;
    createTime?: string;
    updateTime?: string;
    createId?: number;
    updateId?: number;
};

